package fr.umlv.ig.metroView.confView;

import javax.swing.JTabbedPane;

import fr.umlv.ig.model.MetroModelImpl;

public class TabbedConfView {
	
	public static JTabbedPane getTabbedView(MetroModelImpl model) {
		JTabbedPane tabbedPane = new JTabbedPane();
		JTabbedPane stationTabbedPane = TabbedStationConfView.getTabbedStationPanel(model);
		tabbedPane.addTab("Stations",stationTabbedPane);	
		JTabbedPane treeTabbedPane = TabbedTrainConfView.getTabbedTrainPanel(model);
		tabbedPane.addTab("Train",treeTabbedPane);
		return tabbedPane;
	}
	


	
	
	


	
	
	
}
